always check for connected after clearing command