Move interval parameter to startPolling method