minor changes to connection errors