We have several raw pointers in our tcp handlers (and IO threads) which use the uv loop to manage their lifetime (eg uv_getaddrinfo_t).
A better approach would be to have these objects within shared pointers in some higher level collection.
This will also make clang-tidy happier.