Clear buffer if it grows too large to prevent memory pressure related closing