Changed messaging framework to long-term connections