Added some monitoring locking