Update to clihelper 1.7.1 and handle shutdown due to startup failure more gracefully