We should construct connection before guessing it's connected. If an error appears during construction, it'll not set connection status to “connected“