Hector: Added feature to close jobs in role template