fixed a memory leak that was caused by using isend without ever calling wait