instead of killing pids, check if it's running