minor cleanup in shared_from_this_wrapper