Compressing json files now done in a separate thread so that the script doesn't halt and potentially miss incoming tweets.