wait for memcached to come up