remove database connection