HORNETQ-1151 - avoiding NPE when deleting a queue and producing