worker exits after heartbeat message timeout.
Merge pull request #28 from EasonLiao/master

worker exits after heartbeat message timeout.