connection_errors should be a tuple