fixed timeouts in shared memory reads and writes