add glib timeout, change to version 0.32