Is there any reason not to (line 135) return the task from ws_connect? I see no other way for me to pick up the exception that gets tossed when the Kodi instance it's connected to closes. Potentially, PyKodi itself should handle it and signal the app that the connection has closed, but I'd need to see how KodiHTTPConnection (which I'm not using) handles disconnects in order to do a 'proper' PR. Thoughts?