Reset buffer before putting it in the pool