Closes the connection.
@override Future<void> close() async { if (_connection is PostgreSQLConnection) { return (_connection as PostgreSQLConnection).close(); } else { return Future.value(); } }