Log the command being run
Check for errors when killing the process