waitpid with timeout for timeboxing, WIP