See another message from @drevicko that might get what you want, even if it does not answer the specific question you posted about restarting the engines. Will engine purging have the desired effect for your case?
Client.purge_everything() Client.purge_hub_results(jobs=[], targets=[]) Client.purge_results(jobs=[], targets=[]) Client.abort(jobs=None, targets=None, block=None)
source share