Update synchronize.rb

Threadsafe timeout at SynchronizePrimitive#enter