Hmm I'm not sure that memstore.stop has a very clear semantics... maybe stop_writing or something like that?