Added config for mysql to reconnect on timeout