Loop avilable channel id values instead of incrementing without limit