Close memory mapping.
Note that the spine process will unlink the shared memory object, so we don't unlink it here.