Fix NonBlockingQueue contract