Обновление
Добавил ожидание на новую ошибку от сервера openai: "The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists"