[JCLOUDS-500] Initial commit for docker

The payload itself is already closeable. Close the payload to avoid the deprecation warning?