Try setting pool_recycle to fix db gone away issue