Fix bug with db closure in reset elo (again)