Use result type to check if future be cancelled