wait to have the metadata before starting reading

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>