Disable connection query on exit flag.