Block until the background thread has been terminated by a call to shutdown. Then close the pipe and clean up the associated file.
Block until the background thread has been terminated by a call to shutdown. Then close the pipe and clean up the associated file.