Add Integer validation for the timeout argument