prevent error qhen closing an invalid connection
prevent error qhen closing an invalid connection

rstudio/sparklyr,rstudio/sparklyr,rstudio/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr