fixed error message when exiting the central agent