Cleanup.
Simple reference counting for multiple mmaps.