Flush react/output onSessionEnd
Merge pull request #370 from trestletech/flush-on-session-end

Flush react/output onSessionEnd