Timeout while using function xbee.transmit Xbee3

Is there a possibility to add a timeout to the xbee.transmit function?
I would like to do this, because my device (an end-device) get stuck in his programm (xbee.transmit) when 4 Router-devices are joined to one coordinator
Or, is it possible to programm a timeout exception myselfe in Xbee micropython (using the signal lib)?
I can import signal, but I get an error while using a function of this library -> ImportError: no module named ‘signal’