Alert dialog if connection fails.