In my Python socket program, I sometimes need to interrupt it with Ctrl-C. When I do this, it does close the connection using socket.close().
socket.close()
Got the same error : Steps followed : 1 - used $ ps -fA | grep python 2 - Killed all the process 3 - Closed terminal 4 - relaunced and launched the application ( mkchromecast). 5 - did not get this error message. Got another issue. following up on that .
$ ps -fA | grep python