fix for timeout test sometimes fails