remove unneeded g_thread_unref (thanks to Gaurav Kalra <gvkalra@gmail.com>)