An easy way to request termination of the running future
Add this to your Cargo.toml:
Cargo.toml
[dependencies] stop-handle = "0.1"
See examples folder