reconnect on EPIPE