It is only a good idea if the script can check the connection to Pool 1 without interrupting the mining process, because otherwise if Pool 1 still has connection issues then the script will disconnect from Pool 2 every 10 minutes to check Pool 1 = not very efficient.
No need kill te pool 2 proccess(can start 2 phoenix whit same card), if connect pool 1 and start mining, kill pool 2 process.