added functionality in getting city data rest server to handle
exceptions, but bail after 5, and notify user in email exceptions
happened, and log them