Used let instead of before for the Connection instanciation