Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
Find the first usable pool in preference to the current pool in select_pool for work.