when timeout is not null below its multiplied by 1000, should these two be consistent?