still couldn't figure out why connection breaks

still couldn't figure out why connection breaks after sending all
pending items.