CHICAGO (CBS) — The state’s largest public employee union has won a short-term victory, with the state agreeing to temporarily stop moving inmates from prisons scheduled to close.

As WBBM Newsradio’s John Waelti reports, the American Federation of State, County and Municipal Employees – or AFSCME – believes transferring inmates from prisons scheduled to close is too dangerous. Union spokesman Anders Lindall says those transfers will now be stopped, at least temporarily.

READ MORE: Supt. Brown On Making Improvements Within CPD: 'We Have To Gain The Community's Trust'

LISTEN: WBBM Newsradio’s John Waelti reports

“What’s really been a reckless reshuffling of inmates has had the impact of further destabilizing those facilities and putting employees at risk,” Lindall said.

Lindall says the union has also filed a lawsuit aimed at permanently keeping open prisons such as the Tamms Supermax facility and the Dwight Correctional Center that Gov. Pat Quinn would like to close.

READ MORE: This Earth Day, Gov. Pritzker Signs Executive Orders To Keep People's Utilities From Being Cut Off, Move State Government Toward Using Low- Or Zero-Emission Vehicles

“You don’t make a prison safer by taking out facilities that safely incarcerate its most dangerous maximum security inmates,” Lindall said.

Illinois Department of Corrections notifications reviewed by the Associated Press listed transfers from Tamms, including John Spires, 57. Spires is a serial rapist who took a Dixon prison psychologist hostage in May 2006 and repeatedly sexually assaulted her.

As many as 5,000 prisoners were set to be moved.

In addition to the Tamms and Dwight facilities, the state plans to close youth prisons in Joliet and Murphysboro, and halfway houses in Chicago, Decatur and Carbondale.

MORE NEWS: Chicago Weather: Rain On The Way

The fate of the short-term freeze on inmate transfers will be decided at a hearing next Friday.