Added usage of sync.Pool to recycle buffers