public connectWithTimeout(host as String, port as Int, timeoutMillis as Int) as Void throws IOException: