fix bug of redial hangs