allow stopping by pid and process id