autotests: Clean up the outputs list when the client connection is closed
If the client connection has been closed, the Output::removed() signal won't be emitted.
Edited by Vlad Zahorodnii
If the client connection has been closed, the Output::removed() signal won't be emitted.