Fix: added missing checks in START_TX_THREAD and TX_QUEUE_FLUSH sockopt