made pollDelay part of config