Cancel task even if application isn't properly started yet if stop was requested