pgrep gets two or more PIDs and calls kill "$pid" resulting in an error and failure to notify sender of new data to send.