Update server.js
Update server.js

Fix race condition.
GoogleCloudPlatform/dialogflow-integrations,GoogleCloudPlatform/dialogflow-integrations,GoogleCloudPlatform/dialogflow-integrations,GoogleCloudPlatform/dialogflow-integrations