StopContainerCmd stopContainerCmd = client.stopContainerCmd(containerId);
Integer timeout = DockerHelper.getProperty(DockerConstants.DOCKER_TIMEOUT, configuration, message, Integer.class);
if (timeout != null) {
stopContainerCmd.withTimeout(timeout);
}
return stopContainerCmd;
}