How to stay motivated after academic rejection