worker on making sure shutdown works