FIX close did not send a signal if the controller should shut down. The
howevery may be waiting and not checking the done flag to shut down
gracefully