If any person fails to pay the penalty imposed, together with all costs, the court shall commit him to the common jail of the county wherein such conviction is had for a period not exceeding ninety days or until the penalty and costs are paid.
N.J.S. § 4:23-14