make the poll time configurable