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