Feature - graceful flag added as a parameter to task execute method (graceful is set to true when leptir master is executing the task)