Hi Jeff,
Everyone’s iPad does this. It is because iOS insists on breaking network connections when backgrounded or after some non-use in order to preserve battery life. This post has an explanation from Mike.
If you are losing connection while using Roon then that may be a different thing, but losing connection after backgrounding or non-use is “normal” and isn’t something Roon can control.