Clean kill of comm threads on shutdown and keep alive added