Make download planner check if a stop was requested before processing a tick.
Make download planner check if a stop was requested before processing a tick.

Before performing this check, some processing could occur on already
deleted data (e.g. Assets) because they were destroyed immediately
when stop() was invoked.

sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata