Kill the process when it's all done