another Future.shutdown after Future.cancel_groups (cf. 0d4106850eb2);
--- a/src/Pure/System/session.ML Wed Oct 17 21:18:32 2012 +0200
+++ b/src/Pure/System/session.ML Wed Oct 17 22:11:12 2012 +0200
@@ -74,6 +74,7 @@
Future.shutdown ();
Goal.finish_futures ();
Goal.cancel_futures ();
+ Future.shutdown ();
Options.reset_default ();
session_finished := true);