Fixed: Half close pipes...

Patch from Tobias Sargeant / ‏@folded