       service.Redis.status = 1
       service.Redis.message = info.toString().split("\r\n").sort()
 
-    res.json status, service if Object.keys(service).length is 2
+      ret() if Object.keys(service).length is serviceCount
 
   req.cache.mongo.command {dbStats:true}, (err, info) ->
     service.Mongo = {}


  status = 200
  service = {}

  req.cache.redis.info (err, info) ->
    service.Redis = {}

      service.Mongo.status = 1
      service.Mongo.message = info

    ret() if Object.keys(service).length is serviceCount

    setTimeout ret, 2000

