As for cancelation points in this application: none are needed as no cleanup is required (apart from closing FDs which is done by NuttX).