Fixes #837 IOException in ManagementService

#fix 837