Improved socket binding and unbinding to the cluster