[pg]: fixed issue with late event binding on query.connect