fix the bug of TimestampGenerator, delete the mutex