...to stay friends with someone you tried to pursue romantically, but was unsuccessful, even if you (or the other person) finds someone else?
Let's say you were very good friends from the beginning, and the two of you were generally on very good terms.