shared memory working well, but not stable after 10 seconds