Description
While testing I noticed that TorqueInstance.shutdown() leaves the second for-loop by 'break' if the database with the name DEFAULT_NAME is encountered.
Instead this iteration must be terminated by 'continue' without leaving the for-loop.
Otherwise all following databases wouldn't be closed.
Closing all databases is important if Torque.init() and .shutdown() are called frequently during the same program execution.
Using the erroneous TorqueInstance.shutdown() I got e.g. the Oracle error "ORA-00020: maximum number of processes (150) exceeded".
After patching TorqueInstance.shutdown() I succeeded in calling init/shutdown many thousand times from a single jUnit test.