remove this extra close and comment. This was a workaround for parametric tests and causes an error now due to double-closing sockets.