For some reason the only thing that ended up working and not needing the sleep 1 in between is the following:
sleep 1
@model = Model.new Mysql2::Client.default_query_options[:connect_flags] |= Mysql2::Client::MULTI_STATEMENTS@model.connection.reconnect!