Fix ConcurrentModificationException
When onPacketReceived was called at the same time as getSinks, because getSinks uses .values() and onPacketReceived does .put()