Added retry mechanism for encounters