HORNETQ-1224 fix on race on QueueImpl.deliver()