- bugfix: multiple commands on first remote ran in multiple threads
- improve debug logging