Fixed typo in terminateServer() declaration.