Bind socket end() rather than directly assign. Fixes situation where socket doesn't release.