Use ValueGenerator as a monitor object for synchronized block
Merge pull request #45 from rafalkrupinski/sync-nonce

Use ValueGenerator as a monitor object for synchronized block