Parameterized the Await.result duration. (#2)