Reconnect on IOError