Greatly inproved performance, move the send outside of critical section