Added sudo to kill command to give SIGTERM permissions