Docker api problem

i am running a curl --unix-socket /var/run/docker.sock -H “Content-Type: application/json” -X GET "http://v1.29/services/$containerid/logs?follow=false&stderr=true&timestamps=true&tail=16"
but the socket does not stop