#230 Executor fails to connect with AppMaster

based on PR https://github.com/intel-hadoop/gearpump/pull/232

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/intel-hadoop/gearpump/235)
<!-- Reviewable:end -->