Modified to automatically kill stuck jobs

User can configure user-level retry with codes of the form SGEF if
required