afs_Conn must be called within the analyze loop