do not reconnect when endable wifi
a little fixes