Fix timeout float => is_integer