Fix leaked socket in STYListener.