Web sockets

Hello, I’ve got a problem with Mozilla and web sockets, after logging out with Spiring Security i got this exception. When i changed web sockets to long polling it works excellent, also I’ve got this problem only in mozilla firefox, edge and chrome works fine. Do guess the issue is with asynchronous push call on a socket which is already closed but how can i mitigate this problem in mozilla.

[Atmosphere-Shared-0]
 ERROR com.vaadin.flow.server.communication.PushAtmosphereHandler - Exception in push connection
java.io.IOException: Connection remotely closed for 335f6011-cf19-4ec5-88de-11435f443478
	at org.atmosphere.websocket.WebSocket.write(WebSocket.java:230)
	at org.atmosphere.websocket.WebSocket.write(WebSocket.java:220)
	at org.atmosphere.websocket.WebSocket.write(WebSocket.java:46)
	at org.atmosphere.cpr.AtmosphereResponseImpl$Stream.write(AtmosphereResponseImpl.java:957)
	at org.atmosphere.handler.AbstractReflectorAtmosphereHandler.onStateChange(AbstractReflectorAtmosphereHandler.java:155)
	at com.vaadin.flow.server.communication.PushAtmosphereHandler.onStateChange(PushAtmosphereHandler.java:52)
	at org.atmosphere.cpr.DefaultBroadcaster.invokeOnStateChange(DefaultBroadcaster.java:1037)
	at org.atmosphere.cpr.DefaultBroadcaster.prepareInvokeOnStateChange(DefaultBroadcaster.java:1057)
	at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:871)
	at org.atmosphere.cpr.DefaultBroadcaster$2.run(DefaultBroadcaster.java:474)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
	at java.util.concurrent.FutureTask.run(FutureTask.java)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
[http-nio-8337-exec-10]
 ERROR com.finastra.ffc.backend.workspace.WorkspaceService - failed to deregister system property change listener from workspace service
[http-nio-8337-exec-10]
 INFO com.finastra.ffc.auth.UILogoutSuccessHandler - [user: admin]
 logging out
[http-nio-8337-exec-10]
 INFO com.finastra.ffc.auth.UILogoutSuccessHandler - [user: admin]
 expiring all user sessions
[http-nio-8337-exec-10]
 INFO com.finastra.ffc.auth.UILogoutSuccessHandler - expiring session for admin