The Right Time To Stop Learning