Fix NPE in DeleteTask due to null executor