Add more debugging on connect