prevent negative timeouts

will be cast to an unsigned value and take forever!