Detroit mayor prepared to shut down city government to help count votes