removed memoryleak in Server::Connect