Do not set the callback if the Future was cancelled.
Cancelling a future should clear the callback.