Extracted SocketWritert from Errbit and added exception skipping