If New York City transit workers go on strike , Mayor Michael R. Bloomberg plans to trade in his Upper East Side town house for a cot at the Office of Emergency Management 's Brooklyn headquarters so he can walk to City Hall .