Optimize the code path for reusing connection
Optimize the code path for reusing connection

Removed a branch when there's no error and a function call when
there is.

axiomzen/memcache,rainycape/memcache,brunoqc/memcache