add the node failure simulation

@fengjingchao 
Can you help to figure out how to gracefully shutdown the goroutine that represent task?