Fixed premature marking of monitors as terminated