Can't use DBL_MAX when no timeout