Added apache dbcp2 for connection handling via DataSources. Fixed resources not being closed