Attempt to fix bug that caused MYSQL disconnect after a couple of hours