Makes sure to initialize connection