add error log when allocated resource is not enough to launch all tasks #226



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

We also need to remove closed connections.