add retry attempts for all queries