Handle the IOException when trying to connnect to a server that does not exist in test case.
Removed empty string