Fix time-of-check/time-of-action issue in subprocess.Popen.send_signal.