Stochastic optimal control: threshold-aware policies and impact of random disruptions