#NEWLINE# def Cleanup( benchmark_spec ) : #NEWLINE# #INDENT# 'Remove tomcat and wrk.\n\n  Args:\n    benchmark_spec: The benchmark specification. Contains all data that is\n        required to run the benchmark.\n  ' #NEWLINE# tomcat_vm = tomcat_vm . vm_groups [ 'server' ] [ 0 ] #NEWLINE# tomcat . Stop ( tomcat_vm ) #NEWLINE# vm_util . RunThreaded ( _RemoveOpenFileLimit , benchmark_spec . vms )