flask vs threads vs me