improved transport exception handling