Threading added to process the tweets