Polling: Define poll-time as a param instead of a static variable.