Add overloaded method for publishers.

This will allow any samplers to set the delay in between publishing.
Add configurable lifetime to publisher