We have a functional store. Turns out that the crash I was seeing
earlier was because the function overloading the >> operator was not
returning the input stream. This was probably messing up the way the
threads were interacting. Concurrent programming is quite easy to mess
up....!