K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-09-18T20:56:35.239729Z K 7 svn:log V 139 Move the protocol and port count checks to outside the loop, these conditions can not change while we have the lock so no point retesting. END