ORNETQ-1151 - avoiding NPE when deleting a queue and producing at the same time - small fix