Can I use somethink to detect when claymore can't connect to the pool and change it? because with epools.txt can you only change pool and not wallet?
You can change the wallet without problems, see the example:
POOL: us1.ethermine.org:4444,
WALLET: 0xD69af2A796A737A103F12d2f0BCC563a13900E6F.YourWorker, PSW: x, ESM: 1, ALLPOOLS: 0