Crazy framework to shutdown docker images using remote REST API.