If a JobCluster started in attached execution mode, it will wait for a client requesting its result and shutdown itself. However, there is no permission that a user get JobClient from executeAsync call getJobExecutionResult so the cluster may remain.