Ideally, we should check whether the set_maintenance call worked. Is there a way to do that?