FIX: db mysql library close before callback