New threads aren't non-switchable, so waitpid() them before scheduling.