Fixed shared memory problem with session concurrency