Primitive history queue.
Adapt to tubesock modification that gives back the kind of errors that close the socket instead of not getting any events at all.