When does it make sense to quit working?