exit gracefully after running all tests