Wait for child process to finish before issuing waitpid. Bump version to 1.1.0.