make ping feature configurable