catch error of socket
[test] fix test case start_app
Merge pull request #660 from owenc4a4/test

catch error of socket