Connection<Object> connection = connector.maybeConnect();
if (connection == null) {
LOGGER.lifecycle("Gradle daemon is not running.");
return;
}
run(new Stop(clientMetaData), connection, executionListener);
LOGGER.lifecycle("Gradle daemon stopped.");
}