Only stop transport for java.lang.SecurityException - as some tests rely on Connection continung after an exception from the broker