added a safeguard to revent Travis timeouts