Your SMF bridge is breaking the connection to the e107 database, and not re-joining the connection after its finished.
Really it should be fixed at the bridge level.
I can give you some code to stick in the rwar plugin code to re-connect the database, but that will only fix rwar, where a fix in the bridge will apply to all e107 plugins.