Make it quicker to cancel an analyse subtitle job (#2486).