Go into the configuration for the homehub.
You need to find the 'idle disconnection' time setting, which is probably set to 20 minutes - set it to 0 or -1 and it shouldn't disconnect when it's not being used.
bearshare is probably keeping the connection up by sending/receiving packets to its server.