handle cases where there are multiple instances of the process to kill