Error on stop/restart

Does it happen if you use the normal way to start and stop node-red which is node-red-start and node-red-stop?
I wonder whether this is related to the problem with node context not being saved on stopping node-red.