Handle failures to connect to the Chef server