Allow for grace period parameter in job

Grace period will deregister a running container first
and wait specified number of seconds before stopping
or undeploying.