Add retry logcical for connect to supplicant

Change-Id: I500c3a8a3c4733e5e5ece569c8d75a6f2ce715ce