Use timeout for signals.