Add ability to log return code to the DB after a job has completed.