my_popen() should reap the child process when returning failure. #4026