Add defined? check for WORKFLOW_TIMEOUT constant