Fixed a leak in the socket pool. When creating a socket after just removing one, there needs to be more event handlers registered to keep the socket pool clean.