handle thread timing issue on faster machines for tests