title: async await not working properly
body: <p>I am new to JavasSript's <code>async</code>, <code>await</code> and <code>promise</code> features.</p>
  
  <p>What I am doing is,</p>
  
  <pre><code>async function sendTextMessage(text) {
      console.log("----1----");
      var messageData = {
          message: {
              text: text
          }
      };
     await callSendAPI(messageData);
  }
  
  async function sendImageMessage(imageUrl) {
      console.log("----2----");
      var messageData = {
          message: {
              url: imageUrl
          }
      };
    await callSendAPI(messageData);
  }
  
  async function sendQuickReply(replies) {
      console.log("----3----");
      var messageData = {
          message: {
              text: text,
              quick_replies: replies
          }
      };
     await callSendAPI(messageData);
  }
  async function callSendAPI(messageData) {
      await request({
          uri: 'https://graph.facebook.com/v2.6/me/messages',
          qs: {
              access_token: config.FB_PAGE_TOKEN
          },
          method: 'POST',
          json: messageData
  
      }, function(error, response, body) {
          if (!error &amp;&amp; response.statusCode == 200) {
              var recipientId = body.recipient_id;
              var messageId = body.message_id;
  
              if (messageId) {
                  console.log("Successfully sent message with id %s to recipient %s",
                      messageId, recipientId);
              } else {
                  console.log("Successfully called Send API for recipient %s",
                      recipientId);
              }
          } else {
              console.error("Failed calling Send API", response.statusCode, response.statusMessage, body.error);
          }
      });
  }
  </code></pre>
  
  <p>I am calling this functions in one switch case like,</p>
  
  <pre><code>async function send(){
       await sendTextMessage(text);
       await sendImageMessage(img);
       await sendQuickReply(replies)  
  }
  send()
  </code></pre>
  
  <p>But while response shows<code>sendImageMessage()</code> last because this function may be not getting ready when I am sending <code>imageUrl</code> to generate a response.</p>