Don't freeze reading after timeout and prevent zombies.