Add ping timeout in clients