Corrected handling of timeouts >=1sec