A complete guide to threads in Node.js