x11: Close session manager connection on ICE I/O error callback
When ICE I/O error occurs ICE connection is closed via IceCloseConnection.
This causes crash while releasing session manager connection later because this ICE connection was initiated and is managed by session manager, and it will attempt to close this ICE connection again.
Fix this by closing session manager connection instead.
Closes #1281 (closed)