Fix an invalid foreach loop over an unordered_map with deletion in WiiSockets