added more complicated timeout test