catch timout exceptions on tests runtime