Fix echo missed after forking child process