public function onCreateConnection(HostEvent $event)
    {
        $connectionAdapter = $this->getConnectionAdapter($event->getHost());
        if ($connectionAdapter instanceof ConnectionAdapterInterface) {
            $event->getHost()->setConnection($connectionAdapter);
        }
    }