Improving non-persistent MYSQL connection