Added checks after SIGINT to make sure process isnt counted as stopped