It takes time. In time you won't think about it as much. You will find that are you happier not trying to be friends with someone who doesn't have time for you.