fix bug: connection closed by server while sending delta data