I create some bot for my purposes. He send sync xmlhttprequest to resourse. Its working fine, but sometimes request is "stuck" and bot stop working (nothing happns in console window). I have reduced the number of requests to one in 7! minutes, but this happens still. Restarting bot solving the problem for some time. If i use async request i get error "the reqest was already sended" sometimes and bot stop working. Unfulfilled requests accumulate in visual studio code explorer, as I understand it (I attach a screenshot).