Optimal stopping problems in operations management