attempt at fixing travis threading error