error writing "sock561e0d069b20": socket is not connected