Keep track of the md5 within a separate function. Avoids duplication of code on the nchan scripts, and allows for the script to still exit if no listeners without adding in more code within each script to handle this.
keep publishing at a slower rate if no containers are running.
Precursor to having publish not publish if md5 hasn't changed but still honoring timeouts.