Optimises query commands that do not. More importantly, avoids any ssh connection cleanup delay causing problems at the end of such commands.