handle master uncaughtException. fixed #403
Merge pull request #405 from cnpm/master-uncaughtException

handle master uncaughtException. fixed #403