LUCENE-5436: RefrenceManager#accquire can result in infinite loop if manager resource is abused outside of the manager