Be more defensive about closing SLiM CommandRunningClient