XCOMMONS-584: Add job statuses caching

(cherry picked from commit df1e00fd7b4fd45b700ba692cd2f4a92c0af0a79)