fixed race condition that could occur when auto-delete input queues were used and a subscription was established on another thread
better comment