re-do the monitor fix (check for io before killing ourself)