Fixed incoming:end not sent on socket error