Websocket connection dropping in Safari when page not in focus in iOS 15

Our website use web-socket and the web-socket connection drop randomly when the page not in focus for a while. but the web socket state is till show "OPEN". this is occurred in safari in iOS15.

this issue is occurred very randomly.

Websocket connection dropping in Safari when page not in focus in iOS 15
 
 
Q