use monitor so we can interact with sigchld