Can I clear the "Message" at will in my app?

Hi. I’ve deployed my app in I upload a 100MB file and display a heatmap.
After a couple of files were uploaded I get the MessageSize error. After a couple more, it crashes with the “Oh, no!” banner.

Is there a way to manually “clear” that Message each time I upload a file to avoid overflowing it? I prefer to avoid changing the server.maxMessageSize.

Thanks in advance!