Some global connection error handling.