Added a message for when the connection fails.