FIX: windows cmd wait handler
CLEANUP: Protect for multiple definition in bitos.h of INVALID_SOCKET.