The ping frequency is controlled by the client class. Ie Y lines. The reason a ping timeout occurs is because the client is no longer responding. There is nothing you can do about it in reality since internet routing issues and packet loss is part of everyday life on the internet.