Add timout and retry to initializing Node.js server