Tweak close delays
Change stalker poll interval to 50 ms
Fix pipe read/write error return value