b2B 4.0.2: Re-initiating TN connection with external DB!

We are using Oracle as external DB for TN(4.5) and the Oracle server needs to be shut down every night, closing the connection to TN. Is there a serivce or can I create one using the API’s that will re-initiate the connection without re-starting the B2B Server every morning?

Thanks