Successful end to Thai cave rescue