lib: wait for container to be parsed for tell() and stream_length()