add partlyend event after socket error