Call error stack even when response has been sent

fixes #1032