can't work out why the socket keeps breaking -- maybe concurrent requests with no web-server in front?