add takeAllSignals func to FThread