Fixed #7 by adding a not elegant try-catch to catch fatal exceptions that are not catched by scala.util.Try