Refactoring using Tornado / Redis for PubSub to resolve problems