Fixed race condition in jar listing