Resolve issue#7: Make the parent wait for child process