DBT communication error

The problem I’m having

When i run dbt to the redshift this error is offen occur “ConnectionResetError(10054, ‘An existing connection was forcibly closed by the remote host’, None, 10054, None))”

The context of why I’m trying to do this

When i run dbt run with select upstream to redshift, there is error showing “The context of why I’m trying to do this” but sometime showing this “(‘communication error’, gaierror(11001, ‘getaddrinfo failed’))”. But i run again and again it was successed.

What I’ve already tried

i check all dbt stepup like version, env profile.yml and redshift is working or not.

Some example code or error messages

02:36:04  Encountered an error:
Database Error
  ('communication error', gaierror(11001, 'getaddrinfo failed'))
02:37:50  Encountered an error:
Database Error
  ('communication error', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))