Let the server terminate properly once all the sockets are closed. If it does not terminate (this can happen if the device is asleep), then kill it. Fixes #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
Let the server terminate properly once all the sockets are closed. If it does not terminate (this can happen if the device is asleep), then kill it. Fixes #1992 <https://github.com/Genymobile/scrcpy/issues/1992>