implement Closeable to allow explicit cleanup

Also s/DockerClientTest/DefaultDockerClientTest/.