Added ping_repeat and ping_step option.