EngineHandler._connections cannot be assigned to local(), using a generic type object instead