Proposed patch

Shouldn't you also check for responseNeeded here. This is breaking our tests that require response from user as this code ends up sending TR right away.