If such judge does not discharge the prisoner, he may apply for his discharge at the end of every succeeding thirty (30) days, in the same manner as above provided, and the same proceedings must thereupon be had.