hopefully better transmission socket error exception trap