Added error message when cannot connect.