Take a look at JEP 505, which simplifies concurrent programming by introducing an API for structured concurrency. social.ora.cl/6012Nd3Rk