Releases the worker object behind this task.
worker
int closeWorker(Pointer<Void> worker, Pointer<Pointer<Char>> error);