Bug fix: use local drmaa_session rather than global session