DB reconnect working properly now