[core] Make sure to flush service metadata
[core] Make sure to flush service metadata


Otherwise they will just leak. No need to store them or send them in the agent payload though (they are empty).
manolama/dd-agent,Wattpad/dd-agent,takus/dd-agent,cberry777/dd-agent,jyogi/purvar-agent,jyogi/purvar-agent,indeedops/dd-agent,pmav99/praktoras,indeedops/dd-agent,jyogi/purvar-agent,manolama/dd-agent,tebriel/dd-agent,pmav99/praktoras,takus/dd-agent,cberry777/dd-agent,c960657/dd-agent,manolama/dd-agent,c960657/dd-agent,gphat/dd-agent,pmav99/praktoras,gphat/dd-agent,tebriel/dd-agent,tebriel/dd-agent,takus/dd-agent,jyogi/purvar-agent,indeedops/dd-agent,cberry777/dd-agent,indeedops/dd-agent,tebriel/dd-agent,c960657/dd-agent,Wattpad/dd-agent,manolama/dd-agent,manolama/dd-agent,jyogi/purvar-agent,gphat/dd-agent,cberry777/dd-agent,takus/dd-agent,c960657/dd-agent,pmav99/praktoras,gphat/dd-agent,indeedops/dd-agent,gphat/dd-agent,Wattpad/dd-agent,pmav99/praktoras,cberry777/dd-agent,tebriel/dd-agent,c960657/dd-agent,takus/dd-agent,Wattpad/dd-agent,Wattpad/dd-agent