error writing "sock556dc9f0aa70": socket is not connected