I figured out the issue. The problem was less power supply so I added 12v power hub and connected my lidar to the hub. Solved the issue!