Avoid post-close loop behavior
Fix bug in Buffers.dump()