add ping-listener