Fix repeatDial function to handler multiple loop