TYRUS-313: fixing findbugs sychronization issue