Drops the connection from the server side, with a WebSocket close code and reason when given.
code
reason
Future<void> close({int? code, String? reason}) => _end.close(code, reason);