You might use the jxm-console and look for the JCA connection pool of your database. There you find a method flush, this will drop all connection from the pool and reopen it.
That should help.
any chance of Jboss being able to do it by itself, through parameters or otherwise?
You might use connection validation for that, but you still have a gap.