Fix blocking IO when sending multiple messages to HostCommander