add support for automatic restart of the console server