reference_counter: reraise original exceptions with tracebacks