Update MasterSlaveConnection.php

If you use close method just before connect method, $this->_conn is unset and we have got an error php.