In your case, you can assume the selling value is zero after N years. If you still like the rental income, you can continue, otherwise, just sell it now.