Close console server when close main server.