BUG: qdb singleton would reconnect every time