Updates TwitterUtils retry logic and fixes spec issues.