add primitive handling of connection errors