Fixed issue with async/await

see https://issues.scala-lang.org/browse/SI-5397