diff --git a/cmd/main-server.go b/cmd/main-server.go index d3fef53d..ed7db32a 100644 --- a/cmd/main-server.go +++ b/cmd/main-server.go @@ -434,8 +434,11 @@ func stdinReadWatch() { sendTelemetryWrapper() time.Sleep(1 * time.Second) syscall.Kill(syscall.Getpid(), syscall.SIGINT) + break } } + time.Sleep(10 * time.Second) + syscall.Kill(syscall.Getpid(), syscall.SIGKILL) } func main() {