Kill the child process if not killed with a timeout