treat interrupt in select as timeout