On adaptive control of a partially observed Markov chain