how to transfer QImage from QLocalServer to QLocalSocket

problem with QLocalSocket sending continues data to QLocalServer

Close blocking QLocalServer from other thread

Using async QLocalServer with QEventLoop