Close unit when it is finished

Authored by cordlandwehr on Feb 16 2020, 5:07 PM.