iothread: add polling parameters