SONARJAVA-792 methods wait, notify and notifyall should not be called on Thread