Revert "Just connect the server once"

This reverts commit fbd51d14130ba699a907dae3a89765160e77954e.
Revert "Revert "Just connect the server once""

This reverts commit 58d25b113bfbbf8afd118b638d7822e423294e2f.
Just connect to the server once

Fixed so instead of 3 connection to do all checks it will just connect
once and use that response all over the code. (the real commit)