Remove the event subscription from all the sockets,
so disposing them doesn't cause a collection modified exception while multiple sockets are still connected.