test: Make sure event loop is stopped on error

Without session:stop on error, the event loop keeps running forever and busted
never has a chance to report.
tmp