Added mysql connection pooling for reconnecting to db and better performance