automatically connect to different node if cant connect to first one