Update: fix parent process sigchld handling
Add a wait method to the Process class