My output.zip file is not finished being created before the gp task returns. This causes the 'job (jobid) does not exist or is inaccessible' error. I can look at the server and see that the output.zip is created after the gp task errors out. It will work if I use fewer layers and less time is needed to create the output file, but the more layers I use the longer it takes. I can use the setUpdateDelay function to 2 mins and it works. I don't want to wait 2 minutes, if I only select 2 layers.