Ensure a future with unfinished task is not destroyed.