Step 1: Client send request to server
Step 2: Server checks if it has data to respond back or not
Step 3: If Server has data, it will give a response back to the client
Step 4: If not, it(Server) will keep the connection open.
Step 5: Client makes a further call to the server after a specified time interval.
Step 6: Repeat Step 2 to Step 4.
Step 7: Once Server has the data, it responded back to the client.

Hence, it can be figure out that, only there can be a connection timeout problem. And in that case, it is needed to create a new connection