A person arrested on execution shall be imprisoned in jail, and kept at his own expense until satisfaction of the execution, or his legal discharge, but the judgment creditor shall be liable in the first instance for such expense, as in other cases of arrest, in the same manner and to the same extent as prescribed in section 184 of this title.