check the condition when the password is invalid
update connect timeout from 10 to 8