gen_tcp send may fail