fix error that occurs when openengsb is shutdown