This PR fixes a race that could happen if the server was slow in starting, but the connection to the console was fast. In this case, the console connection would attempt to access the non-existing server and reach a "partially connected" state. With this PR the callbacks that rely on the server being ready are now explicitly waiting for the server to start before attempting to access it.