Now app.js exits after all the work is done & clean-up of console prints