changes to nqCache to make it asycronous