Switched 'writestores' with 'syncstores'. Otherwise data is lost on startup.