Subject to any other provision, any term of imprisonment imposed in default of payment of a sum adjudged to be paid, shall terminate whenever that sum is paid or levied by process of law.