The production code calls connection.session.getRuntimeMetrics() when closing the WebSocket server, but MockSession in the relay-reconnect tests didn't implement this method, causing all close() calls to throw.
The production code calls connection.session.getRuntimeMetrics() when closing the WebSocket server, but MockSession in the relay-reconnect tests didn't implement this method, causing all close() calls to throw.