Add close() method in MasterSlaveConnection.php