timeouts with selects