'Why is adb not detecting more than 5 devices?

I have adb installed on CentOS 7.9, but for some strange reason it is not detecting more than 5 devices. lsusb was able to see all the devices connected. If I unplug some devices and plug in the previously undetected device, it will show the device in the adb devices list, but then when I reconnect the original devices, one of them won't be detected and adb will only show total 5 devices.

[sttools@softtestmini02 ~]$ adb devices
List of devices attached
454446454d453098        device
R5CRC2H8EDM     device
RFCR103PDCY     device
RFCR10E7PQA     device
RFCR60XDSHY     device


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source