Closes the database connection
@override Future<void> close() async { if (_connection != null) { await _connection!.close(); _connection = null; } _isConnected = false; }