Fix garbage collection.
Use nonce cache.