Update cliListener.js

added on('error') listener to avoid c blocknotify error stopping NOMP