Only print the image that is being opened every 500 milliseconds