fix some cucumber async issues.