in IDLE and FRONTIER stetes, a robot sends a query 5 times to its neighbors