The current stdlib implementation does not support arbitrary cancellation of futures. What you can do to cancel an operation is close the FD (socket) that it is working on.
This might work for your use case, but if not then I’d be interested to hear about it so we can support it.
