Chnage Hibernate Configurations to avoid the broken pipe exception due to Mysql connection refresh in every 8 hours