add buffer pool and remove buffer reuse API