Copy a bunch of code from sinatra-pubsub

Now we only have one redis connection for all the streams. And we kill
any connection after a reasonable length of time.