Fixing bug in async where cached callback var overwrites another.