So wait 5 seconds and if the process is still alive, send a SIGKILL? I was thinking about something similar, but unsure about how long to wait?