ENH:Automatically close table when no player