馃崚 slavebase: abort mimetype emission when the worker was terminated
otherwise we end up looping until we run out of memory in our transmission buffer
(cherry picked from commit 8562c506)