Racecondition in Node Constructor fixed