To prevent overcooking, boil the asparagus for only 90 seconds and immediately run it under cold water to halt the cooking process.