implement flu_sbuffer_close