memcache connect error

Changing try/catch to if, to avoid the ugly warning memcache connect error