fix connection reset