On shutdown, this could cause the Elasticsearch backend to release resources (client, threads) while a work is still executing.