ensure that no more than one receive is ever running on a socket