added screenshot
Improved socket error handling