Update. wait_all() still has issues