Better way of testing connetcion with Ags2Agp protocol.