Monitor: Added extra check that monitor is still alive after acquiring rwlock.