send_gearman method fix