only put mutex around memory store calls, should speed up connects and disconnects