Make sharedmemory removal unconditional