Any person imprisoned for any contempt of court for the non-performance of any order or judgment for the payment of money, is entitled to relief by habeas corpus, and if it appears, on full examination of such person and such witnesses, and other evidence as may be adduced, that he or she is unable to comply with such order or judgment, or to endure the confinement, and that all persons interested in the order or judgment have had reasonable notice of the time and place of trial, the court may discharge him or her from imprisonment, but no such discharge shall operate to release the lien of such order or judgment, but the same may be enforced against the property of such person as other orders and judgments are enforced in civil cases.
735 ILCS 5/10-137