Upload component interruptUpload

Hi! I have some problem with Upload Component.
I want add restriction on MaxFileSize, when i write like upload.setMaxFileSize(800); user doesn’t understand why uploading failed.

When i write like upload.addStartedListener(startedEvent -> { if (startedEvent.getContentLength() > 800L * 8L) { Notification.show("forbidden"); startedEvent.getUpload().interruptUpload(); } }); uploading look like success.

Please, give me advertise how can I add this restriction!
Thanks!

Related? https://github.com/vaadin/vaadin-upload-flow/issues/96