Make polling interval configurable.