Wasnt always closing database connections