Avoid bug in cleaning _shards_atime dict where loop would explode