Need to make the ping timer global so we can cancel it later.