if (!con.isClosed)