String SpecVersion = RLGlueCore.getSpecVersion();
System.out.println("RL-Glue Java Environment Codec Version: " + SpecVersion + " (" + ImplementationVersion + ")");
System.out.println("\tConnecting to " + host + " on port " + port + "...");
theClient = new ClientEnvironment(theEnvironment);
try {
theClient.connect(host, port, Network.kRetryTimeout);
System.out.println("\tEnvironment Codec Connected");
theClient.runEnvironmentEventLoop();
theClient.close();