DG: Fixed issue with wexit in DRMAA and made gestatus independet.