added a workaround for canceled futures fix #1094

[ci skip]
This tag has no release notes.