check for op before using timeout