fix a bug depend on boost
add ff_wait as publi