We still have to reset `entriesInUse` and `maxEntriesInUse` before returning.