[runtime] Use mono_thread_join () to wait for the finalizer thread to exit.