fix connection queue flush bug

since the new connection isnt necessarily reliable either
we cant clear the queue after otherwise we throw away
potentially re-queued messages