added fast close for buffers