Disable LOG_DEBUG message
Change a little connect and disconnect functions