HashMap with autocleaning support