improve error handling on bootstrap connection errors