CCBC-1487: Fixed retryq erasing already sent packets.
CCBC-1487: Fixed retryq erasing already sent packets.

Change-Id: Ie7ff4f6914c2bef253787e9f727f061e1c872c9c
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/161415
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>

couchbase/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase