Removed the socket connection