Fixed socket leak.