docs: use finalhandler in example