Added support for re-connecting after initiated disconnect. Makes library compatible with Django's memcached cache wich disconnects the client after each HTTP request.