add pingNow and try fix wait_time_out and add config for heart_beat_time_period