When the timeout is zero or not defined, the function now returns false. Fixes a linker error when the visualizer is enabled