Changed autoconnect to true in constructor