Fix errbit reporting on message queue publish error

It was referencing an undefined variable `hash`.

Also fix the queue watcher so that it doesn't leave unacked messages in the queue.