Removing logs, and stopping streaming for command transmission