USB disconnection after a few minutes of inactivity

After a while, the odrive seems to disconnect from my linux machine when I’m using the python over the native protocol via usb. Is this expected? What can be used to keep it alive?