Added a background-thread calling check to the execute method for tasks
Added a background-thread calling check to the execute method for tasks

drmillan/service-generator,drmillan/service-generator,drmillan/service-generator