Our web-application doesn't resume the web-Socket reconnection at the Safari in our iPad Air (perhaps after network reconnection).

The application is running at the Safari. The iPad screen is always on. The application will continuously running in the iPad and communicate to our web-application server through the web-socket, but nobody touch the application or the iPad over 24 hours. When perhaps the network (Wi-Fi or the Internet) reconnecting after disconnect, the web-socket doesn't come to be reconnected to our web-application server. If I touch the link in the application, the web-socket will reconnect to the server. I think that the Safari is suspended in the iPad.


Could you tell me that how to make the application able to be recommunicated the web-socket by auto after the recovery of network connection was be detected?