Time correlation functions in the stress ensemble