Handled connection refused. Removed some comments.