Ensure we turn off maintenance if the migrations fail