Iraq closed its border crossing with Jordan until further notice to stop Islamic State militants from getting funds from truck drivers.

Every truck driver driving across the border was being forced to pay a “tax” to ISIS on each cargo from Jordan. Iraq’s decision comes Thursday after Shiite militias and security forces launched an offensive against ISIS militants to regain control the western province of Anbar.

Brigadier General Saad Maan said that the crossing, which was closed Tuesday, would be open again when the security situation improved in the region. Press TV reported that Jordan officials had confirmed closing the border crossing as well. The Jordanian government has advised drivers against heading to the Iraqi border.