Tests: Only make one Memcache connection

I'm hoping that this fixes the travis failures.