hande socket write error