writeCommand($command); } $connection->disconnect(); return array(); } }