Wrap error on connection to ConnectionError