add close method to mapped byte buffers