I noticed the @poll_cycle variable is a little confusing since agent also has a method called 'poll_cycle'. Since the @poll_cycle variable represents the duration or interval for polling, maybe rename it to something clearer.