Cook your noodles to al dente. They will continue to cook even after you take them off the heat. It will also help so your leftovers are less likely to get soggy.