Clears the specified cancellation types, if they have been triggered.
void clear( cancellation_type_t mask = cancellation_type::all);