Make the polling interval configurable