Add ability to stop process