A. To prevent disconnection, go to your device's Settings > Battery > Battery optimization. Find Tag-It in the list and select 'Don't optimize' to allow it to maintain a connection even when the phone is asleep.
B. You can also adjust your phone's sleep settings. Go to Settings > Display > Sleep and set it to a longer duration to keep the phone awake longer.