close the dnode client after each communication