Added `DB::reconnect` method to `DatabaseManager`. Closes #907.