[what] add some sleep in api/countlyBatch.sh
       add debug message in api/api.js