Jasper Yu says to YSITD http://stackoverflow.com/questions/10004112/how-can-i-wait-for-set-of-asynchronous-callback-functions