be more careful in BackgroundProcess.cancel
be more careful in BackgroundProcess.cancel

Someone sent me a traceback where cancel() was called before .proc was set.  I
don't really understand how this happens, but there's no harm in being careful.

CanonicalLtd/subiquity,CanonicalLtd/subiquity