go-couchbase: Fixed the problem of doing "defer" statements within the retry loop of Bucket.Do() function.

Encapsulated the code block that does the defer call within an anonymous function.
This way defer statement works properly and returns every connection after each retry.