Using SingletonThreadPool for MySQL connection for thread safety and connection recycling