changing ping frequency to 1 second