While I'd prefer "when" in the second sentence, I don't see anything wrong with "while".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
jooneyHow do you make a general rule out of this?Very carefully! If at all.