Add ebuf_done(), for EBUF cleanup.