Fixing premature marking of monitors as terminated