Store a pointer to MediaLibrary instead of DBConnection
This allows us to fetch more resources, and will prevent obscure bugs if the connection is reopened, as the old pointer wouldn't be valid
This allows us to fetch more resources, and will prevent obscure bugs if the connection is reopened, as the old pointer wouldn't be valid