avoid "too many open files" error...

(must be a change in Qt 4.8.5 or in glib...)