FIxes #5209 - negative timeout config value causes errors