Any commitment issued in accordance with section 52:13-10 of this title shall remain valid and effective until the imprisonment therein set forth shall have been served, notwithstanding the legislature which directed the issue of the commitment may meanwhile have adjourned or ended.