make call to check pid in the state, and send exit signal to worker process if it is a pid() ref