If the container is being killed, we don't need to close the service socket