[liuxia] Fix cancellation.