avoid NPE with job still running even though the editor is disposed