Currently callout_stop() returns 1 (success) even if the callout is currently
being serviced and indeed can't be possibly stopped.
A scenario to reproduce this case is:
- the callout is being serviced and at same time,
- callout_reset() is called on this callout, that adds CALLOUT_PENDING flag and then,
- callout_stop() is called and return 1 (success) even if the callout is running and unstoppable.
This issue was caught up while makeing D2763 workaround, and discussed at BSDCan.
Once applied the D2763 workaround won't be needed anymore and I will revert it.