Updates rest polling block to allow polling_interval of 0 to disable polling