Removing reinitializing socket V4 change

Removing reinitializing socket V4 change as it causes other issues.
Keeping try catch and printing exception if error logging is enabled