Haven't done this but the next script task could check for the status of job, it could be in-progress, success, or fail, which you'd have 3 different actions and routes. If it's in-progress, in script task you could let it wait 5 minutes before routing to itself again for status check. (or it could have its own internal loop)
I don't know if Adobe WF process uses multiple threads to process multiple workflow processes at the same time. Waiting for x number of minutes MIGHT prevent other processes from being completed (let us know what you find out).
Script task does not have onReminder event to set up an internal timer unless you want to set up an User task and assign some system user as participate and set up OnReminder event to check for the status.