Delete copy assignment and copy constructor from monitor class.