Exit tunnel on fatal error, catch buffer exceptions