a C++ callback that gets called after libuv returns from executing `EndWorker`, always executes in the main event loop thread