Attempt to fix service being restarted when exiting