TEIID-3103 ensuring command complete is sent