shall be subject for every such subsequent offence to imprisonment for life, or to double the amount of punishment to which he would otherwise have been liable for the same; but if he is not sentenced to imprisonment for life, he shall not in any case be liable to imprisonment for a term exceeding 15 years.