Added a number of state checks to deal with temperamental issues in Rackspace