Log queue size on close
Added /_debug/vars with per-db queue lengths