Stop all work from the current pool if it's a stratum pool once it is disconnected since it will be invalid upon reconnecting.