Quit ImageOptim instance after optimization