Reducing the number of open transaktions to the SQL database.