Revert "bugfix: close socket once when harbor disconnected"

This reverts commit 750e0733f3d911d10a2d03e085147cf5e24f96ad.