added await on Future[T : AsResult] to return a result. fixes #241