Handle calls to get_reused_times using lua socket