Remove database connections