fixed not killing Pids in "better" maxtime implementation