Fixed bug that left uncloed DB connection in batch bot process.  Removed called to out.println in batch process as this caused exception after gateway timeout.