fix nullpointer in jobcompled | change logging frequency