Set ondrain only if send returns false