should prevent cyclic wait-notify
Merge pull request #3518 from gurbuzali/cyclic-fix/3.3

should prevent cyclic wait-notify