In the "Trade" tab of the MT5 Toolbox, right-click any open position and select "Bulk Operations" to close multiple orders at once by condition, such as all positions, profitable positions, losing positions, all buy or sell orders, or positions in a specific symbol. The server processes them one by one in sequence, so when there are many orders it may take a few seconds. This is normal.