loop: set PF_MEMALLOC_NOIO for the worker thread