fix removeAllListeners() cocurrent access to map
renewal test program