If such judge should not discharge the prisoner, the prisoner may apply for discharge at the end of every succeeding 10 days, in the same manner as above provided, and the same proceeding shall thereupon be had.