avoid tests hanging