Closes the IO once all controllers are stopped.