To be held in contempt indefinitely you must "hold the keys to the jail cell" meaning you can leave at any time if you simply comply with the courts order.