For a simple model of a stock, whose stock price is a geometric Brownian motion in which the drift rate changes back and forth between positive and negative values, optimal selling times are computed. An infinite optimal selling time meaning you should just hold the stock.
Raymond Rishel. "Whether to sell or hold a stock." Commun. Inf. Syst. 6 (3) 193 - 202, 2006.