OK, I have included to have two option ... localhost for IPv4 and :: for IPv6 .... 

  kill $(curl localhost:${LISTENER_PORT}/pid -s -S)

  kill $(curl :::${LISTENER_PORT}/pid -s -S)

But I can remove accumulatorStop_ipv6