function setCloseTimer(websocket) {
  websocket._closeTimer = setTimeout(
    websocket._socket.destroy.bind(websocket._socket),
    closeTimeout
  );
}
Set a timer to destroy the underlying raw socket of a WebSocket.

@param {WebSocket} websocket The WebSocket instance
@private