Added print loop to avoid travis timeouts