Add few exception handling

Exception handling for azure SocketError on slow network.