Rolling back postgres connection