[WFLY-3363] improved cancellation handling