server: close socket when destroying display
test-runner: don't print backtrace upon SIGABRT