Oscillatory stress response of polymers in the nematic phase