Close postgresql connection too