added connection refused error handling