close(code, signal) {
        if (signal) this.isSignalKilled = true;
        if (code) this.isCodeKilled = true;
        this.emit('close');
    }