handle closing of mapped byte buffer sequences properly