Monitor: Added extra check that monitor is still alive after acquiring rwlock.
Merge pull request #363 from shaitan/master

Monitor: Added extra check that monitor is still alive after acquiring rowlock. (master)