Removed assert statement as sometimes the process doesn't exist. This should be ok we just can't try and kill a process that doesn't exist I think.