"return" will make Naarad exit I believe. 
If a hostname is required for each metric, say, the hostname is used to create sub-dir, then Naarad should exit.