Following on from discussion in https://github.com/flutter/flutter/pull/134493/files#r1323430358 It should be enough to send SIGINT to the tool, the tool should run all shutdown hooks.