Make set_finalizer(), set_debug_threadname(), cancel_test() and set_error_reporting() transferable from lane to lane