State government narrowly escaped shutdown in 2001