Changed LoadClient to wait until all tasks finish.