Replace workaround for canceling a running analysis with a solution that stops Galaxy jobs automatically.