Fixes for the doSyncNs method:

 - ack messages when throwing exception so the temp queues don't
   stick around
 - delete temporary queues when they are no longer needed. This means on
   long running applications that keep a connection open we don't end up
   with stale temp queues sticking around.