void () { if (myServerInstance == null) { myServerInstance = RemoteServersManager.getInstance().createServer(getServerType()); RemoteServerConnectionTester tester = new RemoteServerConnectionTester(myServerInstance); setTestConnectionState(TestConnectionState.IN_PROGRESS); myLastStartedTestConnectionMillis = System.currentTimeMillis(); tester.testConnection(this::connectionTested); } }