Don't supporess warnings about try-with-resources