Orders remain on Submitted state until I restart ninjatrader

When placing my orders with my script, instead of becoming immediately Working or Accepted they remain on Submitted State. if I close Ninjatrader and repoen it, the limit/stop orders (tp,sl) are becoming Accepted or Working and my market order is no longer on State Submitted —> it is filled already at the price and at the time that I set it initially (the entry timestamp is exactly when I placed my market order, even though when I placed it it appeared as Submitted).

I do not know if the fact that I am trading on a funded account plays a role.

I would like it to have a normal behaviour where my orders are on the correct State (Working/Accepted/Filled) the moment I place them.

Is there a general reason this might happen?

Thanks in advance.