maybe do `this.res.write(data, encoding, fn)` instead of so it will be called once the pagelet is written