error in active pool selection
If the connection to the first daemon cannot be established. the other daemon is connecting. while the second daemon is active; it keeps trying to connect to the first daemon.

![image](https://user-images.githubusercontent.com/31975916/160286762-487eb629-f380-4f70-8bc6-daa5ed83e515.png)
