Changed Autofac to scan the appdomain

..and IsConnected won't work, need to block until connected or a timeout.