Modify monitor to keep monitoree parent thread alive if a child exits