The journey from Chamber 3 to the cave entrance took about four to five hours initially, but was reduced to less than an hour after a week of draining and clearing the mud path using shovels. The authorities warned that extracting everyone would take several days, because crews had to replace air tanks, gear, and other supplies, requiring ten to twenty hours between each run. Shortly after 19:00, local officials said that two boys had been rescued and taken to Chiangrai Prachanukroh Hospital. Shortly after, two more boys exited the cave and were assessed by medical officials. Low water levels had reduced the time required for the rescues. The lower water was due to improved weather and the construction of a weir outside the cave to help control the water. On 9 July, four more boys were rescued from the cave. On 10 July, the last four boys and their coach were rescued from the cave. Experience helped streamline the rescue procedure, so the total time to extract a boy was reduced from three hours on the first day to just over two hours on the final day, allowing four boys and the coach to be rescued. The three Thai Navy SEALs and the Army doctor who had stayed with the boys the entire time were the last to dive out. Three of these divers made it to Chamber 3, joining waiting rescuers when the pumps shut off for an uncertain reason, possibly due to a burst water pipe. Water levels in Chamber 3 started to rise, which would have cut off rescuers' access to Chamber 2, Chamber 1 and the entrance of the cave. "All of a sudden a water pipe burst and the main pump stopped working", a diver stated. "We really had to run from the third chamber to the entrance because the water level was rising very quickly – like 50 cm every 10 minutes." This forced up to 100 rescuers still located more than inside the cave to evacuate in a hurry, abandoning the rescue equipment inside the cave. The last diver made it back to Chamber 3 as everyone was preparing to leave. The rescuers managed to rush to the cave exit in under an hour. A number of news outlets reported on the role of coach Ekkaphon during the rescue. The coach had previously been a Buddhist monk, and had guided meditation for the children during the ordeal. He also passed on a message in which he apologised for putting the children in danger. Thai authorities said the rescued boys were able to eat rice porridge, but more complex foods would be withheld for ten days.