make sure we unmap on shutdown