Remove the event subscription from all the sockets,
so disposing them doesn't cause a collection modified exception while multiple sockets are still connected.
Merge pull request #8 from flagbug/master

Fix collection modified exception