To not leave hanging downloads, it might make sense to cancel them when the `session.end` command is called.
To not leave hanging downloads, it might make sense to cancel them when the
session.endcommand is called.