fixed race condition in SynchroniserThread