Stop test-docker-ssl container gracefully

Stop the container gracefully so that Docker cleans up after itself.
Otherwise, future iterations of the same test fail since we run out of
loopback devices.