Close mysql connection