Fix shell closing after requesting an SMS token