Fix problem with processes outliving mic session

Signed-off-by: David Greaves <david@dgreaves.com>