How To Break Infinite While Loop In Shell Script