fix missing word in comment
remove unused imports
Keep trying if error occurred while posting to twitter