On average cost stopping time problems