KT-4825 Implement "synchronized" properly via monitorenter/monitorexit
 #KT-4825 Fixed