function stop() {
  clearTimeout(timeout);
  clearInterval(pushStatsInterval);
  pusage.unmonitor(pid);
  datadog.close();
}
/**
 * Clean up resources and stop scheduled function calls.
 */
Clean up resources and stop scheduled function calls.
Clean up resources and stop scheduled function calls .
function stop() {
  clearTimeout(timeout);
  clearInterval(pushStatsInterval);
  pusage.unmonitor(pid);
  datadog.close();
}
function stop ( ) { clearTimeout ( timeout ) ; clearInterval ( pushStatsInterval ) ; pusage . unmonitor ( pid ) ; datadog . close ( ) ; }
Clean up resources and stop scheduled function calls.
Clean up resources and stop scheduled function calls .