Description
While working on #2791, I saw that when a workflow is stopped, there is no data stored in the job_data.db when the status of a job is RUNNING.
Reproducible example
Same as #2791.
Expected Behavior
The expected behavior would be to store any info from jobs if they consume any type of resources (e.g. core-hours). I will not get into details because this could be a further discussion.