Stress relaxation in dense and slow granular flows