code: public void reconnect (int timeout) throws IOException {
  		if (connectHost == null) throw new IllegalStateException("This client has never been connected.");
  		connect(timeout, connectHost, connectTcpPort, connectUdpPort);
  	}
docs: Calls {@link #connect(int, InetAddress, int, int) connect} with the specified timeout and the other values last passed to
  connect.
  @throws IllegalStateException if connect has never been called.