dt_io_thread_delete
dt_io_thread_delete(env->dtio);
void dt_io_thread_delete(struct dt_io_thread* dtio);