When I cancel a job there should be a possibility to cancel and download the job logs in one step. This should be implemented like the streamtool command canceljob with option --collectlogs. Because this is the only way to get the logs when the job is shutdown.