Don't check_network_activity() if select() is interrupted by a signal.