Added wait_all