wait for all callbacks to complete
v1.1.6