Add exit after pause if succeed