Adds process cleanup to stop script