The cost and availability of spare parts are a real issue. Airlines can't afford to have planes broke down everywhere waiting on parts. Component manufacturers discontinue support for such items as starters, CSDs, instruments, etc - so when there are no more serviceable parts or they are so costly - that's the end of the program.