Tried both cmd.exe and bash shells, here is typical output:
Here is the main.js
var linger = require('linger');
var stop = linger('something', function (c) {
console.log(c);
console.log('done');
});
setTimeout(function () {
console.log('timeout finished');
stop();
}, 5000);