Dump flight recorder in unit test (when there's no System.exit)