The task can be set to nil after completion, and the unrestrict flag should also be set to nil when the batch sheet is dismissed. Signed-off-by: kingbri <bdashore3@proton.me>