support exception_ptr