Program panics when closing socket.
When connecting to the api-server via netcat (for example) and exiting netcat with "ctrl+c" the program panics with:
thread 'tokio-runtime-worker' panicked at 'failed to read data from socket: Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }', src/main.rs:52:22