add ping timeout