Fixing cache test invalidator shutdown.
Fixing cache test invalidator shutdown.

We used to close the connection and hope it would interrupt the
streaming RPC. Some RPC libraries don't interrupt on-going connections,
but instead wait for them to finish. So now we first stop the streaming
connection (by setting a flag, and forcing an event), and then close the
connection.

pivanof/vitess,vitessio/vitess,tinyspeck/vitess,pivanof/vitess,tinyspeck/vitess,mahak/vitess,tirsen/vitess,enisoc/vitess,davygeek/vitess,mapbased/vitess,tirsen/vitess,mapbased/vitess,mattharden/vitess,applift/vitess,vitessio/vitess,applift/vitess,applift/vitess,mattharden/vitess,applift/vitess,dcadevil/vitess,mapbased/vitess,vitessio/vitess,sougou/vitess,HubSpot/vitess,rnavarro/vitess,HubSpot/vitess,sougou/vitess,mahak/vitess,applift/vitess,sougou/vitess,davygeek/vitess,davygeek/vitess,dumbunny/vitess,dcadevil/vitess,dumbunny/vitess,mattharden/vitess,vitessio/vitess,dumbunny/vitess,davygeek/vitess,mattharden/vitess,davygeek/vitess,mapbased/vitess,dcadevil/vitess,mapbased/vitess,dcadevil/vitess,tirsen/vitess,applift/vitess,vitessio/vitess,mahak/vitess,vitessio/vitess,enisoc/vitess,tirsen/vitess,HubSpot/vitess,alainjobart/vitess,rnavarro/vitess,HubSpot/vitess,dumbunny/vitess,pivanof/vitess,vitessio/vitess,vitessio/vitess,rnavarro/vitess,applift/vitess,HubSpot/vitess,mahak/vitess,dumbunny/vitess,applift/vitess,mapbased/vitess,alainjobart/vitess,tirsen/vitess,tirsen/vitess,tirsen/vitess,alainjobart/vitess,dcadevil/vitess,mapbased/vitess,alainjobart/vitess,sougou/vitess,mattharden/vitess,dcadevil/vitess,mattharden/vitess,mattharden/vitess,dumbunny/vitess,tirsen/vitess,dumbunny/vitess,mattharden/vitess,enisoc/vitess,alainjobart/vitess,rnavarro/vitess,mattharden/vitess,HubSpot/vitess,rnavarro/vitess,davygeek/vitess,enisoc/vitess,tinyspeck/vitess,mahak/vitess,rnavarro/vitess,tinyspeck/vitess,mattharden/vitess,sougou/vitess,pivanof/vitess,enisoc/vitess,rnavarro/vitess,mahak/vitess,tinyspeck/vitess,mahak/vitess,mahak/vitess,sougou/vitess,HubSpot/vitess,mapbased/vitess,pivanof/vitess,mapbased/vitess,rnavarro/vitess,mapbased/vitess,dumbunny/vitess,dumbunny/vitess,applift/vitess,applift/vitess,pivanof/vitess,enisoc/vitess,dcadevil/vitess,rnavarro/vitess,davygeek/vitess,tinyspeck/vitess,enisoc/vitess,pivanof/vitess,HubSpot/vitess,alainjobart/vitess,alainjobart/vitess,tinyspeck/vitess,pivanof/vitess,tirsen/vitess,sougou/vitess,sougou/vitess,dumbunny/vitess,alainjobart/vitess,pivanof/vitess