Remember that salmon will continue to cook as it rests. So if you're keeping a close eye on the time, taking it out right before it's "done" is another way to prevent overcooking.