How many years do you have to play to retire in the nba?