add support to run a recovery command whenever instance maybe out of service.