JSR356Endpoint-Error when turning off my mobile device

We created a vaadin-application for mobile devices, running there in the webbrowser.
When I am working with this application and turn the device off (power off), I got
the following stacktrace on the console:


Dez 13, 2017 9:44:11 AM org.atmosphere.container.JSR356Endpoint onError
SCHWERWIEGEND:
java.io.EOFException
at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1221)
at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1161)
at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:63)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

My configuration is:
Vaadin 8.1.7
Touchkit 5.0.0
Tomcat 8.5.11
Apple iPhone 7 with safari browser

Is it possible to catch this exception in my vaadin-App? I want to avoid the output of this stacktraces
in my log-files.

Thanks

Hi, have you checked this thread:
https://vaadin.com/forum/#!/thread/16898825