Removed Synchronize, added critical section