Fixed time-out in SaveTextCommand