fix socket send without callback