Add async.each for multi database queries