Use try with resources in tests.performance.ui. Change-Id: I91a1cca7e014d132bd06452a5b31edc6d965a530 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>