use async in runHooks.
Merge pull request #260 from stephenplusplus/runHooks

use async in runHooks.