stop calling depcreated g_thread_init