Deciding when to stop investing time and energy into a current job can be one of the most challenging decisions in a career.