mojo: Don't use debug function during cleanup.
So now at least I know that it is SIGPIPE which this feature branch is currently receiving...