Removing database connection