[IOTDB-3726] Fix concurrent issue of udf management