How to know when it’s time to leave your job