Nuke Plugin not detecting proper exit in BatchMode