title: Kotlin executes only one of two suspend functions
body: <p>In my suspend function <code>getContent</code> I am calling two other suspend functions:</p>
  <pre><code>override suspend fun getContent(token: String) {
  ...
                      getUserPosts(token)
                      getRecentPosts(token)
      ...
  
  }
  </code></pre>
  <p>But only the first one gets executed.
  If I put <code>getRecentPosts</code> first then only that one gets executed.</p>
  <p>How to solve this?</p>
  <p>I call the <code>getContent</code> method from ViewModel with <code>viewModelScope</code>.</p>
  <p><em>EDIT</em>
  Here is my getUserPosts() method, the getRecentPosts() method look pretty much the same, the &quot;Finished 1&quot; and &quot;Finsihed 2&quot; Log is getting logged but not &quot;Finished 3:</p>
  <pre><code>override suspend fun getUserPosts(token: String) {
      try {
          myInterceptor.setAccessToken(token)
          graphqlAPI.query(GetUserPostsQuery()).fetchPolicy(FetchPolicy.NetworkFirst).watch()
              .collect { response -&gt;
                  val newList = arrayListOf&lt;Post&gt;()
                  response.data?.getUserPosts?.let {
                      for (post in it) {
                          newList.add(
                              Post(
                                  id = post.postFragment.id,
                                  ...
                              )
                          )
  
                      }
                      userState.editUserState(userState.userStateFlow.value?.copy(posts = newList))
                      Log.i(&quot;#+#&quot;, &quot;Finished 1&quot;)
                  }
                  Log.i(&quot;#+#&quot;, &quot;Finished 2&quot;)
              }
          Log.i(&quot;#+#&quot;, &quot;Finished 3&quot;)
      } catch (e: ApolloException) {
          e.printStackTrace()
      }
  }
  </code></pre>