Update synchronize.rb

Threadsafe timeout at SynchronizePrimitive#enter
Merge pull request #59 from AtoxIO/master

Better timeout checking in synchronize.rb