wait for the last chunk before declaring we are done.