Added check for running memcached process