Add timeout in Node