work around pygobject GIL / threading bug