test: close debug client in test-debugger-client

Killing the debuggee without first closing the socket can result
in an ECONNRESET error.