Kill the process after timeout