Need help my ESP32 gets stuck after sending one signal from the IR transmitter

As the title says my ESP32 gets stuck after I send a single signal from the IR transmitter it does not execute anything below `IrSender.sendNEC(0xF300, 0x91, 30000); `.
The signal will go out perfectly fine and it will even turn on/off my fan. but nothing below it gets executed it does not even go inside of the loop.

My Code:

#include <IRremote.hpp>

const int irSendPin = 21;

void setup() {
  Serial.begin(115200);
  IrSender.begin(irSendPin);
  Serial.println("Sending signal");

  IrSender.sendNEC(0xF300, 0x91, 30000); 
  Serial.println("Signal sent!");
}

void loop() {
  Serial.println("It is not going in the loop");
}

Image of my circuit:

https://preview.redd.it/5k06xdabef5e1.jpg?width=2250&format=pjpg&auto=webp&s=a1c812dd836ba6ab82b3c1214f140c4995779ffe

Thank you