Remove defer closure and reset buffer after retrieving from pool.