adding requests to client side andsending pings frequently