Break out from scripts blocking the node.js event loop