Load metadata in background thread when needed