improved ping subscription handling.