[FastCgi] Cleanup buffer management