improvement for handling QuotaExceededError that throws when appending data to full buffer