added exception handeling for when twitter block the script