Don't safe-load longs

This causes breakage when the primary timeout is reached and the master
tries to lookup the status of the running job.
Merge pull request #12044 from terminalmage/dont-safe_load-longs

Don't safe-load longs