Half-closing bidirectional pipes