implement TrySend API