Added a simple flag which allows killing of the previous process