I do applaud the instinct to keep this as one line. However, `wrappedDoneCb` is a little non-explanatory. In JS, this would be more idiomatic:

```js
server.on('close', function () {
  logFinalWarning();
  doneCb();
});
```