FIX: reduced load of polling stderr and stdout