Minor Tweaks

Should ident when reconnecting and attempted to fix a crashing issue
with an existing open db connection