Implemented ping sync.